package job.practice.designpattern;

/**
 * Author: Zhang Dongwei
 * Date: 2023/8/27 10:31
 */
public class LazyLock {
    private LazyLock(){}

    private static LazyLock lazyLock = null;
    public synchronized static LazyLock getInstance(){
        if (lazyLock == null){
            lazyLock = new LazyLock();
        }
        return lazyLock;
    }
}
